/*
 * @FilePath: /vue3-ts-h5-template/src/utils/set-page-title.ts
 * @Description: 设置页面标题
 */
export function setPageTitle(routeTitle?: string) {
  window.document.title = routeTitle
    ? `${routeTitle}`
    : import.meta.env.VITE_APP_DEFAULT_TITLE;
}
